package com.neiquan.weiguan.fragment;

import android.view.LayoutInflater;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.neiquan.weiguan.R;
import com.neiquan.weiguan.fragment.base.AppBaseFragment;

import butterknife.ButterKnife;
import butterknife.InjectView;
import butterknife.OnClick;

/**
 * 个人资料
 */
public class PersonalDataFragment extends AppBaseFragment {

    @InjectView(R.id.back_img)
    ImageView mBackImg;
    @InjectView(R.id.back_tv)
    TextView mBackTv;
    @InjectView(R.id.ly_back)
    LinearLayout mLyBack;
    @InjectView(R.id.title_tv)
    TextView mTitleTv;
    @InjectView(R.id.next_tv)
    TextView mNextTv;
    @InjectView(R.id.next_img)
    ImageView mNextImg;
    @InjectView(R.id.head_view)
    RelativeLayout mHeadView;
    @InjectView(R.id.lin_personaldata_fragment_title)
    LinearLayout mLinPersonaldataFragmentTitle;
    @InjectView(R.id.img_right)
    ImageView mImgRight;
    @InjectView(R.id.img_personldata_fragment_userhead)
    ImageView mImgPersonldataFragmentUserhead;
    @InjectView(R.id.lin_personldata_fragment_head)
    LinearLayout mLinPersonldataFragmentHead;
    @InjectView(R.id.edit_personldata_fragment_nickname)
    EditText mEditPersonldataFragmentNickname;
    @InjectView(R.id.rel_personldata_fragment_nickname)
    RelativeLayout mRelPersonldataFragmentNickname;
    @InjectView(R.id.edit_personldata_fragment_sign)
    EditText mEditPersonldataFragmentSign;
    @InjectView(R.id.rel_personldata_fragment_sign)
    RelativeLayout mRelPersonldataFragmentSign;

    @Override
    public View initRootView() {
        rootView = LayoutInflater.from(getContext()).inflate(R.layout.fragment_personaldata, null);
        ButterKnife.inject(this, rootView);
        return rootView;
    }

    @Override
    public void setViews() {
        setTitleTv("个人资料");
    }

    @Override
    public void initData() {

    }

    @OnClick({R.id.img_personldata_fragment_userhead, R.id.lin_personldata_fragment_head, R.id.rel_personldata_fragment_nickname, R.id.rel_personldata_fragment_sign})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.img_personldata_fragment_userhead:
                break;
            case R.id.lin_personldata_fragment_head:
                break;
            case R.id.rel_personldata_fragment_nickname:
                break;
            case R.id.rel_personldata_fragment_sign:
                break;
        }
    }
}
